package bdz.projects.inl.vo
{
	import bdz.projects.inl.core.CoreVO;

	public class ProjectCategoryVO extends CoreVO
	{
		[Bindable]
		public var project_category_id:String;
		[Bindable]
		public var project_category_name:String;
		
		public function ProjectCategoryVO(def:XML=null)
		{
			idField = "project_category_id";
			propList = ["project_category_id", "project_category_name"];
			if(def && def.name() != "inl_project_categories"){
				def = def.inl_project_categories[0];	
			}
			super(def, null, "inl_project_categories");
		}
		override protected function createPropertyAttributes():void{
			propAttributes = [
			{name:"project_category_name", type:"input", label:"Category Name"}
			];
		}
		
	}
}